package com.ruoyi.basebill.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface BillUtilMapper {
    public String getNewNumber(@Param("date")String date, @Param("tableName")String tableName);
    public String getMaterialNumber(@Param("materialNumber")String tableName);

    public ArrayList<String> getChildIdByParentId(@Param("tableName")String tableName, @Param("parentId")String parentId);

    public int deleteEntryByIdAndParentId(@Param("tableName")String tableName,@Param("parentId")String parentId, @Param("id")String id);

}
